package com.ev.k3cloudBusiness.vo;

import com.alibaba.fastjson.annotation.JSONField;
import com.ev.k3cloud.entity.K3CloudBaseNumberMetaEntity;
import com.fasterxml.jackson.annotation.JsonIgnore;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel("采购申请单新增Vo")
public class K3PurRequisitionInsertVo {

    @JSONField(ordinal = 1)
    @JsonIgnore
    @ApiModelProperty("单据类型")
    private K3CloudBaseNumberMetaEntity fbillTypeID = new K3CloudBaseNumberMetaEntity("CGSQD01_SYS");
    @JSONField(ordinal = 2)
    @ApiModelProperty("申请日期")
    private String fapplicationDate="";
    @JSONField(ordinal = 3)
    @JsonIgnore
    @ApiModelProperty("申请类型")
    private String frequestType="Material";
    @JSONField(ordinal = 4)
    @ApiModelProperty("申请组织")
    private K3CloudBaseNumberMetaEntity fapplicationOrgId=new K3CloudBaseNumberMetaEntity("");
    @JSONField(ordinal = 5)
    @ApiModelProperty("申请部门")
    private K3CloudBaseNumberMetaEntity fapplicationDeptId=new K3CloudBaseNumberMetaEntity("");
    @JSONField(ordinal = 6)
    @ApiModelProperty("申请人")
    private K3CloudBaseNumberMetaEntity fapplicantId=new K3CloudBaseNumberMetaEntity("");
    @JSONField(ordinal =7)
    @JsonIgnore
    @ApiModelProperty("币别")
    private K3CloudBaseNumberMetaEntity fcurrencyId=new K3CloudBaseNumberMetaEntity("PRE001");
    @JSONField(ordinal =8)
    @ApiModelProperty("备注")
    private String  fnote="";
    @JSONField(ordinal =9)
    @JsonIgnore
    @ApiModelProperty("来源类型")
    private String  fsrcType="";
    @JSONField(ordinal =10)
    @JsonIgnore
    @ApiModelProperty("价外税")
    private String  fisPriceExcludeTax="false";
    @JSONField(ordinal =11)
    @JsonIgnore
    @ApiModelProperty("汇率类型")
    private K3CloudBaseNumberMetaEntity fexchangeTypeId=new K3CloudBaseNumberMetaEntity("HLTX01_SYS");
    @JSONField(ordinal =12)
    @JsonIgnore
    @ApiModelProperty("是否是单据转换")
    private String  fisConvert="false";
    @JSONField(ordinal =13)
    @JsonIgnore
    @ApiModelProperty("移动单据")
    private K3PurRequisitionMobBillHeadInsertVo fmobBillHead=new K3PurRequisitionMobBillHeadInsertVo();
    @JSONField(ordinal =14)
    @ApiModelProperty("明细")
    private List<K3PurResquisitionEnitityInsertVo>  fentity=new ArrayList<>();
}
